import { defineStore } from 'pinia'
import { ref } from 'vue'
// 导出地址store
export const userAddressStore = defineStore('address', () => {
  // 创建一个值
  const selectAddress = ref()
  // 创建一个修改值的方法
  const changeSelectAddress = (val: any) => {
    selectAddress.value = val
  }
  return {
    selectAddress,
    changeSelectAddress,
  }
})
